//
//  HomeViewControler.h
//  SlowLoad
//
//  Created by Hai Nguyen on 8/28/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NewsParser.h"
#import "ImageDownloader.h"
#import "NewsCell.h"

@interface HomeViewControler : UIViewController <NewsParserDelegate,ImageDownloaderDelegate>{
	UITableView *newsTable;
	NewsCell *homeCell;
	UIView *loadingView;
	NSMutableArray *newsArray;
	NSMutableDictionary *imageDownloadsInProgress;
}

@property(nonatomic, retain) IBOutlet UITableView *newsTable;
@property(nonatomic, retain) IBOutlet NewsCell *homeCell;
@property(nonatomic, retain) IBOutlet UIView *loadingView;
@property(nonatomic, retain) NSMutableArray *newsArray;
@property(nonatomic, retain) NSMutableDictionary *imageDownloadsInProgress;

- (void)startIconDownload:(News*)news forIndexPath:(NSIndexPath *)indexPath;

@end
